<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
<meta charset="utf-8">
<title><?php echo ($title); ?></title>
<link href="/Public/css/admin.css" rel="stylesheet" type="text/css">
<style>
.searchcontent{ margin-left:246px; height:auto; overflow:hidden; width:980px; padding-bottom:15px;}
.searchcontent .search{ width:100%; height:auto; overflow:hidden;}
.searchcontent .search p{ font-size:18px; line-height:40px; color:#777777;}
.searchcontent .search p span{ color:#FB0105;}
.searchcontent .search .nr{ width:100%; height:auto; overflow:hidden; margin-bottom:30px;}
.current{ color:#0089e1; cursor:pointer; border:1px solid #0089e1; padding:0 8px; margin-right:5px;}
.next{ color:#777777; text-decoration:none;}
.prev{color:#777777; text-decoration:none;}
.num{ color:#777777; text-decoration:none; cursor:pointer; border:1px solid #777777; padding:0 8px; margin-right:5px;}
.num:hover{ color:#0089e1;}
</style>
</head>

<body>
<div class="head">
	<img src="/Public/images/kg.jpg" class="fl"/>
    <form method="post" class="fl">
    	<input name="search" type="text" class="search fl" placeholder="请输入你想要搜索的信息">
        <input type="submit" name="submit" value="智搜一下" class="submit">
    </form>
    <p class="fr">姓名</p>
</div>
<div class="bmss">
	<div class="bmss1">
    	<p><a href="#">疾病百科</a><a href="#">咨询智库</a><a href="#">竞价智库</a><a href="#">策划智库</a></p>
    </div>
</div>
<div class="searchcontent">
	<div class="search">
    	<p>康冠智搜为您找到相关结果约<span><?php echo ($count); ?></span>个</p>
        <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="nr">
                <p><?php echo ($vo["title"]); ?> 更新时间：<span><?php echo ($vo["addtime"]); ?></span></p>
                <p><?php echo ($vo["content"]); ?></p>
            </div><?php endforeach; endif; else: echo "" ;endif; ?>
    </div>
    <?php echo ($page); ?>
</div>
</body>
</html>
<script type="text/javascript" src="/Public/js/jquery/jquery.min.js"></script>
<script type="text/javascript" src="/Public/js/jquery/jquery.cookie.js"></script>
<script>
$(function(){
	var name =	$.cookie('name');
	$(".head p").html(name);
})
</script>